@echo off
:: 添加所有更改的文件
git add .

:: 提交更改，使用当前时间作为提交信息
set datetime=%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,2%:%time:~3,2%:%time:~6,2%
git commit -m "Auto commit at %datetime%"

:: 推送到远程仓库
git push

:: 暂停查看执行结果
pause 